package com.qf.bank.web;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringCloudApplication
@EnableFeignClients(basePackages = "com.qf.bank.**.api")
@EnableHystrix
@ComponentScan({"com.qf.bank.web", "com.qf.bank.**.fallback","com.qf.bank.**.fallbank","com.qf.bank.redis"})
public class WebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }
}
